'''
1*1=1  2*1=2  3*1=3
1*2=2  2*2=4  3*2=6
1*3=3  2*3=6  3*3=9
'''

# print(f'{1}*{1}={1*1}', end='\t')
# print(f'{2}*{1}={2*1}', end='\t')
# print(f'{3}*{1}={3*1}', end='\t')

for a in range(1,10,1):
    for b in range(1,a+1,1):
     print(f'{b}*{a}={b*a}', end='\t')
    print()

for a in range(1,11,1):
    for b in range(1,11-a,1):
        print(f'{b}*{a}={b*a}', end='\t')
    print()
